package com.lianrui.app.user.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.lianrui.app.user.domian.User;
import com.lianrui.app.user.services.IUserService;
import com.lianrui.app.user.vos.UserPage;
import com.lianrui.core.AbstractController;
import com.lianrui.core.IService;

/**
 * 功能描述：用户控制器
 *
 * @author LJQ
 *
 * 2015年12月26日 下午4:13:33
 */
@Controller
@RequestMapping("/user")
public class UserController extends AbstractController<UserPage, User, Integer> {
	
	private static final Logger LOGGER = LoggerFactory.getLogger(UserController.class);
	
	@Autowired
	IUserService userService;
	
	@Override
	public IService<UserPage, User, Integer> getService() {
		
		return userService;
	}

	@Override
	public Logger getLogger() {
		return LOGGER;
	}
	
}
